﻿using System.ComponentModel;

namespace SmartCity.ProcessEngine.Errorcode
{
    public enum ApiEnum
    {
        [Description("登录成功")]
        LoginSuccess = 100,
        [Description("登录失败")]
        LoginFail = 101,

        [Description("查询成功")]
        SearchSuccess = 200,
        [Description("查询失败")]
        SearchFail = 201,

        [Description("新增成功")]
        AddSuccess = 300,
        [Description("新增失败")]
        AddFail = 301,

        [Description("修改成功")]
        UpdateSuccess = 400,
        [Description("修改失败")]
        UpdateFail = 401,

        [Description("删除成功")]
        DeleteSuccess = 500,
        [Description("删除失败")]
        DeleteFail = 501,

    }
}
